<include file="Shared:Header" />
<body class="Bodybg">
<div id="tt" class="easyui-tabs" >
    <div title="借款信息" style="padding: 20px; background-color: #f4f4f4">
        <fieldset style="border: 1px solid #ccc;margin:5px; ">
            <legend  style="color: #0092DC">借款信息</legend>
            <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
                <tbody>
                <tr>
                    <td width="120" align="right">申请人会员账号：</td>
                    <td width="200">
                        {$infos['MemAccount']}
                    </td>
                    <td width="120" align="right">真实姓名：</td>
                    <td width="200">
                        {$infos['TrueName']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">手机号码：</td>
                    <td width="200">
                        {$infos['Mobile']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">申请号：</td>
                    <td width="200">
                        {$infos['LoanNo']}
                    </td>
                    <td width="120" align="right">订单号：</td>
                    <td width="200">
                        {$infos['OrderSn']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">申请金额：</td>
                    <td width="200">
                        {$infos['ApplyMoney']}
                    </td>
                    <td width="120" align="right">快速申请费：</td>
                    <td width="200">
                        {$infos['AdoptMoney']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">用户管理费：</td>
                    <td width="200">
                        {$infos['FJMoney']}
                    </td>
                    <td width="120" align="right">息费：</td>
                    <td width="200">
                        {$infos['Interest']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">优惠劵金额：</td>
                    <td width="200">
                        {$infos['CoMoney']}
                    </td>
                    <td width="120" align="right">申请天数：</td>
                    <td width="200">
                        {$infos['ApplyDay']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">申请时间：</td>
                    <td width="200">
                        {$infos['ApplyTime']}
                    </td>
                    <td width="120" align="right">到期应还：</td>
                    <td width="200">
                        {$infos['BackM']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">容时期天数：</td>
                    <td width="200">
                        {$infos['RongDay']}
                    </td>
                    <td width="120" align="right">容时期利率：</td>
                    <td width="200">
                        <?php
                          if($infos['RongP']){
                            echo $infos['RongP'].'%';
                          }
                        ?>
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">逾时期天数：</td>
                    <td width="200">
                        {$infos['OverdueDay']}
                    </td>
                    <td width="120" align="right">逾时期利率：</td>
                    <td width="200">
                        <?php
                          if($infos['OverdueP']){
                            echo $infos['OverdueP'].'%';
                          }
                        ?>
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">申请类型：</td>
                    <td width="200">
                        {$infos['LoanType']}
                    </td>
                    <td width="120" align="right">实际还款：</td>
                    <td width="200">
                        {$infos['sjhkmoney']}
                    </td>
                </tr>
            </tbody>
        </table>
        </fieldset>
      <fieldset style="border: 1px solid #ccc;margin:5px; ">
            <legend  style="color: #0092DC">审核状态</legend>
            <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
                <tbody>
                <tr>
                    <td width="120" align="right">申请状态：</td>
                    <td width="200" style="color:red;">
                        {$infos['LoanStatus']}
                    </td>
                    <td width="120" align="right">审核时间：</td>
                    <td width="200">
                        {$infos['ShTime']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">审核状态：</td>
                    <td width="200" style="color:red;">
                        {$infos['Status']}
                    </td>
                    <td width="120" align="right">审核人：</td>
                    <td width="200">
                        {$infos['ServiceID']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">还款时间：</td>
                    <td width="200">
                        {$infos['YyFkTime']}
                    </td>
                </tr>
             <?php if($infos['LoanStatus2']=='5'):?>
                <tr>
                    <td width="120" align="right">失败原因：</td>
                    <td width="200">
                        {$infos['Remark']}
                    </td>
                </tr>
             <?php endif;?>
            </tbody>
        </table>
        </fieldset>
    </div>
    <div title="认证详情"  style="padding: 20px; background-color: #f4f4f4">
        <div  class="TabelContent">
            <fieldset style="border: 1px solid #ccc;margin:5px; ">
                <legend  style="color: #0092DC">身份证认证</legend>
                <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
                    <tbody>
                    <tr>
                        <td colspan="4">
                           <table width="100%" border="0" cellpadding="3" cellspacing="0">
                               <tr>
                                   <td>正面:</td>
                                   <td><a href="javascript:void(0);"><img src="{$cardinfos.CardFace}" style="width:180px;height:120px;" onclick="bigview(this,0)"/></a></td>
                                   <td>反面:</td>
                                   <td><a href="javascript:void(0);"><img src="{$cardinfos.CardSide}" style="width:180px;height:120px;" onclick="bigview(this,1)"/></a></td>
                                   <td>手持照:</td>
                                   <td><a href="javascript:void(0);"><img src="{$cardinfos.Cardschi}" style="width:180px;height:120px;" onclick="bigview(this,2)"/></a></td>
                               </tr>
                           </table>
                        </td>
                    </tr>
                    <tr>
                        <td width="120" align="right">评估模型得分：</td>
                        <td width="200">
                            {$cardinfos['Yddatas']['score_detail']['score']}
                        </td>
                        <td width="120" align="right">风险等级：</td>
                        <td width="200">
                            {$cardinfos['Yddatas']['score_detail']['risk_evaluation']}
                        </td>
                    </tr>
                    <tr>
                        <td width="120" align="right">手机号码：</td>
                        <td width="200">
                            {$cardinfos['Mobile']}
                        </td>
                        <td width="120" align="right">真实姓名：</td>
                        <td width="200">
                            {$cardinfos['TrueName']}
                        </td>
                    </tr>
                    <tr>
                        <td width="120" align="right">身份证号：</td>
                        <td width="200">
                            {$cardinfos['IDCard']}
                        </td>
                        <td width="120" align="right">状态：</td>
                        <td width="200">
                            <?php
                              if($cardinfos['Status']=='0'){
                                 echo '待审核';
                              }elseif($cardinfos['Status']=='1'){
                                 echo '<span style="color:green;">已认证</span>';
                              }elseif($cardinfos['Status']=='2'){
                                 echo '<span style="color:red;">认证失败</span>';
                              }
                            ?>
                        </td>
                    </tr>
                    <tr>
                        <td width="120" align="right">认证时间：</td>
                        <td width="200">
                            {$cardinfos['RenzTime']}
                        </td>
                    </tr>
                </tbody>
            </table>
            </fieldset>
            <fieldset style="border: 1px solid #ccc;margin:5px; ">
            <legend  style="color: #0092DC">手机认证</legend>
            <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
                <tbody>
                <tr>
                    <td width="120" align="right">手机号码：</td>
                    <td width="200">
                        {$mobileinfos['Mobile']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">真实姓名：</td>
                    <td width="200">
                        {$mobileinfos['TrueName']}
                    </td>
                    <td width="120" align="right">抓取姓名：</td>
                    <td width="200">
                        {$mobileinfos['ZUserName']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">入网时间：</td>
                    <td width="200">
                        {$mobileinfos['OpenDate']}
                    </td>
                    <td width="120" align="right">余额：</td>
                    <td width="200">
                        {$mobileinfos['AccountBalance']}元
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">状态：</td>
                    <td width="200">
                        <?php
                          if($mobileinfos['Status']=='0'){
                             echo '待审核';
                          }elseif($mobileinfos['Status']=='1'){
                             echo '<span style="color:green;">已认证</span>';
                          }elseif($mobileinfos['Status']=='2'){
                             echo '<span style="color:red;">认证失败</span>';
                          }
                        ?>
                    </td>
                    <td width="120" align="right">认证时间：</td>
                    <td width="200">
                        {$mobileinfos['RenzTime']}
                    </td>
                </tr>
            </tbody>
        </table>
        </fieldset>
        <!--<fieldset style="border: 1px solid #ccc;margin:5px; ">
            <legend  style="color: #0092DC">支付宝认证</legend>
            <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
                <tbody>
                <tr>
                    <td width="120" align="right">真实姓名：</td>
                    <td width="200">
                        {$alipayinfos['TrueName']}
                    </td>
                    <td width="120" align="right">淘宝会员名：</td>
                    <td width="200">
                        {$alipayinfos['TaobaoName']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">余额：</td>
                    <td width="200">
                        {$alipayinfos['Balance']}
                    </td>
                    <td width="120" align="right">花呗可用余额：</td>
                    <td width="200">
                        {$alipayinfos['HuabeiBalance']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">花呗额度：</td>
                    <td width="200">
                        {$alipayinfos['HuabeiLimit']}
                    </td>
                    <td width="120" align="right">花呗还款额度：</td>
                    <td width="200">
                        {$alipayinfos['HuabeiRet']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">绑定号码：</td>
                    <td width="200">
                        {$alipayinfos['ZFBMobile']}
                    </td>
                    <td width="120" align="right">邮箱：</td>
                    <td width="200">
                        {$alipayinfos['Email']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">认证时间：</td>
                    <td width="200">
                        {$alipayinfos['RenzTime']}
                    </td>
                    <td width="120" align="right">状态：</td>
                    <td width="200">
                        <?php
                          if($alipayinfos['Status']=='0'){
                             echo '待审核';
                          }elseif($alipayinfos['Status']=='1'){
                             echo '<span style="color:green;">已认证</span>';
                          }elseif($alipayinfos['Status']=='2'){
                             echo '<span style="color:red;">认证失败</span>';
                          }
                        ?>
                    </td>
                </tr>
            </tbody>
        </table>
        </fieldset>-->
        <fieldset style="border: 1px solid #ccc;margin:5px; ">
            <legend  style="color: #0092DC">淘宝认证</legend>
            <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
              
              <tbody>
                <tr>
                    <td width="120" align="right">真实姓名：</td>
                    <td width="200">
                       {$cinfos['userinfo']['real_name']}
                    </td>
                    <td width="120" align="right">性别：</td>
                    
                    
                    <?php if($cinfos['userinfo']['gender']==1){ ?>
                    	
                    <td width="200">
                       <!-- {$infos.userinfo.gender}-->
                                                         男
                    </td>
                   <?php }else{ ?>
                    	  <td width="200">
                       <!-- {$infos.userinfo.gender}-->
                                                        女
                    </td>
                   <?php } ?>
                    
                    
                         
                </tr>
                <tr>
                    <td width="120" align="right">生日：</td>
                    <td width="200">
                        {$cinfos['userinfo']['birthday']}
                    </td>
                    <td width="120" align="right">星座：</td>
                    <td width="200">
                     
                         {$cinfos['userinfo']['constellation']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">支付宝余额：</td>
                    <td width="200">
                    	 {$yue}元
                        
                        
                    </td>
                    <td width="120" align="right">余额宝金额：</td>
                    <td width="200">
                         
                         {$yueb}元
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">余额宝历史累计收益：</td>
                    <td width="200">
                    	{$ljsy}元
                           
                    </td>
                    <td width="120" align="right">花呗当前可用额度：</td>
                    <td width="200">
                           {$hbkyed}元
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">花呗授信额度：</td>
                    <td width="200">
                          {$hbsxed}元
                    </td>
                    <td width="120" align="right">芝麻分：</td>
                    <td width="200">
                           {$zhimafen}
                            <!--{$infos.userinfo.phone_number}手机号-->
                    </td>
                  
                </tr>
                
                
                 <!--<tr>
                    <td width="120" align="right">认证时间：</td>
                    <td width="200">
                        {$infos['RenzTime']}
                    </td>
                    <td width="120" align="right">状态：</td>
                    <td width="200">
                        <?php
                          if($infos['Status']=='0'){
                             echo '待审核';
                          }elseif($infos['Status']=='1'){
                             echo '<span style="color:green;">已认证</span>';
                          }elseif($infos['Status']=='2'){
                             echo '<span style="color:red;">认证失败</span>';
                          }
                        ?>
                    </td>
                </tr>-->
            </tbody>
        </table>
        </fieldset>
        <fieldset style="border: 1px solid #ccc;margin:5px; ">
            <legend  style="color: #0092DC">银行卡认证</legend>
            <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
                <tbody>
                <tr>
                    <td width="120" align="right">真实姓名：</td>
                    <td width="200">
                        {$bankinfos['TrueName']}
                    </td>
                    <td width="120" align="right">身份证号：</td>
                    <td width="200">
                        {$bankinfos['IDCard']}
                    </td>
                </tr>
                <tr>
                    <!--<td width="120" align="right">开户银行：</td>
                    <td width="200">
                        {$bankinfos['OpenBankName']}
                    </td>-->
                    <td width="120" align="right">银行卡号：</td>
                    <td width="200">
                        {$bankinfos['BankNo']}
                    </td>
                </tr>
                <tr>
                    <!--<td width="120" align="right">开户行地址：</td>
                    <td width="200">
                        {$bankinfos['Address']}
                    </td>-->
                    <td width="120" align="right">预留手机：</td>
                    <td width="200">
                        {$bankinfos['YMobile']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">认证时间：</td>
                    <td width="200">
                        {$bankinfos['RenzTime']}
                    </td>
                    <td width="120" align="right">状态：</td>
                    <td width="200">
                        <?php
                          if($bankinfos['Status']=='0'){
                             echo '待审核';
                          }elseif($bankinfos['Status']=='1'){
                             echo '<span style="color:green;">已认证</span>';
                          }elseif($bankinfos['Status']=='2'){
                             echo '<span style="color:red;">认证失败</span>';
                          }
                        ?>
                    </td>
                </tr>
            </tbody>
        </table>
        </fieldset>
        <fieldset style="border: 1px solid #ccc;margin:5px; ">
            <legend  style="color: #0092DC">基本信息认证</legend>
            <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
                <tbody>
                <tr>
                    <td width="120" align="right">会员id：</td>
                    <td width="200">
                        {$jibeninfos['UserID']}
                    </td>
                    <td width="120" align="right">昵称：</td>
                    <td width="200">
                        {$jibeninfos['NickName']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">性别：</td>
                    <td width="200">
                        <?php
                            if($jibeninfos['Sex']=='0'){
                                echo '保密';
                             }elseif($jibeninfos['Sex']=='1'){
                                echo '男';
                             }elseif($jibeninfos['Sex']=='2'){
                                echo '女';
                             }
                        ?>
                    </td>
                    <td width="120" align="right">号码：</td>
                    <td width="200">
                        {$jibeninfos['Mobile']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">收入：</td>
                    <td width="200">
                        {$jibeninfos['InCome']}
                    </td>
                    <td width="120" align="right">学历：</td>
                    <td width="200">
                        {$jibeninfos['Education']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">职业：</td>
                    <td width="200">
                        {$jibeninfos['ZhiYe']}
                    </td>
                    <td width="120" align="right">状态：</td>
                    <td width="200">
                        <?php
                          if($jibeninfos['Status']=='0'){
                             echo '待审核';
                          }elseif($jibeninfos['Status']=='1'){
                             echo '<span style="color:green;">已认证</span>';
                          }elseif($jibeninfos['Status']=='2'){
                             echo '<span style="color:red;">认证失败</span>';
                          }
                        ?>
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">家庭住址：</td>
                    <td width="200">
                        {$jibeninfos['JAddress']}
                    </td>
                    <td width="120" align="right">居住时长：</td>
                    <td width="200">
                        {$jibeninfos['JZTime']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">单位名称：</td>
                    <td width="200">
                        {$jibeninfos['CompanyName']}
                    </td>
                    <td width="120" align="right">单位地址：</td>
                    <td width="200">
                        {$jibeninfos['CompanyAddress']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">单位电话：</td>
                    <td width="200">
                        {$jibeninfos['CompanyMobile']}
                    </td>
                </tr>
            </tbody>
        </table>
        </fieldset>
        <fieldset style="border: 1px solid #ccc;margin:5px; ">
            <legend  style="color: #0092DC">社交认证</legend>
            <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
                <tbody>
                <tr>
                    <td width="120" align="right">QQ：</td>
                    <td width="200">
                        {$socialinfos['QQ']}
                    </td>
                    <td width="120" align="right">微信：</td>
                    <td width="200">
                        {$socialinfos['WeChat']}
                    </td>
                </tr>
                <tr>
                    <td  width="auto" colspan="4">
                        <table>
                            <tr>
                                <td  width="120" align="right" rowspan="0">信息：</td>
                                <td colspan="2">亲属关系</td>
                            </tr>
                          <?php foreach($socialinfos['Contents']['qinshu'] as $k=>$v):?>
                            <tr>
                                <td width="100" align="right">与本人关系：</td>
                                <td>{$v.guanxi}</td>
                                <td width="100" align="right">电话：</td>
                                <td>{$v.tel}</td>
                                <td width="100" align="right">姓名：</td>
                                <td>{$v.name}</td>
                            </tr>
                          <?php endforeach;?>
                            <tr>
                                <td colspan="3">社会关系</td>
                            </tr>
                          <?php foreach($socialinfos['Contents']['shehui'] as $k=>$v):?>
                            <tr>
                                <td width="100" align="right">与本人关系：</td>
                                <td>{$v.guanxi}</td>
                                <td width="100" align="right">电话：</td>
                                <td>{$v.tel}</td>
                                <td width="100" align="right">姓名：</td>
                                <td>{$v.name}</td>
                            </tr>
                          <?php endforeach;?>
                        </table>
                    </td>
                </tr>
               
                <tr>
                    <td width="120" align="right">状态：</td>
                    <td width="200">
                        <?php
                          if($socialinfos['Status']=='0'){
                             echo '待审核';
                          }elseif($socialinfos['Status']=='1'){
                             echo '<span style="color:green;">已认证</span>';
                          }elseif($socialinfos['Status']=='2'){
                             echo '<span style="color:red;">认证失败</span>';
                          }
                        ?>
                    </td>
                    <td width="120" align="right">时间：</td>
                    <td width="200">
                        {$socialinfos['RenzTime']}
                    </td>
                </tr>
            </tbody>
        </table>
        </fieldset>
        </div>
    </div>
    <div title="通讯录"  style="padding: 20px; background-color: #f4f4f4">
        <form id="FF" method="post">
            <div class="search" id="search2">
                <table border="0" id="SearchTable" class="SearchTable" cellpadding="3">
                    <thead>
                        <tr>
                            <td align="right">姓名：</td>
                            <td>
                                <input id="name" name="name" type="text" />
                            </td>
                            <td align="right">号码：</td>
                            <td>
                                <input id="tel" name="tel" type="text" />
                            </td>
                            <td>
                                <input id="btnSearch" onclick='$.XB.search2({"datalist": "#Phonelist","search": "#search2"});' type="button" value="查 看">
                            </td>
                        </tr>
                    </thead>
                </table>
            </div>
            <div  class="TabelContent">
                <table id="Phonelist"></table>
            </div>
        </form>
    </div>
    <div title="通话记录"  style="padding: 20px; background-color: #f4f4f4">
        <form id="FF" method="post">
            <div class="search" id="search">
                <table border="0" id="SearchTable" class="SearchTable" cellpadding="3">
                    <thead>
                        <tr>
                            <td align="right">号码：</td>
                            <td>
                                <input id="tel" name="tel" type="text" />
                            </td>
                            <td align="right">类型：</td>
                            <td>
                                <select name="contype" id="contype">
                                    <option value="-5">全部</option>
                                    <option value="1">主叫</option>
                                    <option value="2">被叫</option>
                                </select>
                            </td>
                            <td>
                                <input id="btnSearch" onclick='$.XB.search2({"datalist": "#CallBill","search": "#search"});' type="button" value="查 看">
                            </td>
                        </tr>
                    </thead>
                </table>
            </div>
            <div  class="TabelContent">
                <table id="CallBill"></table>
            </div>
        </form>
    </div>
    <div title="通话排行"  style="padding: 20px; background-color: #f4f4f4">
        <form id="FF" method="post">
            <div class="search" id="search">
                <table border="0" id="SearchTable" class="SearchTable" cellpadding="3">
                    <thead>
                        <tr>
                            <td align="right">号码：</td>
                            <td>
                                <input id="tel" name="tel" type="text" />
                            </td>
                            <td align="right">类型：</td>
                            <td>
                                <select name="contype" id="contype">
                                    <option value="-5">全部</option>
                                    <option value="1">主叫</option>
                                    <option value="2">被叫</option>
                                </select>
                            </td>
                            <td>
                                <input id="btnSearch" onclick='$.XB.search2({"datalist": "#CallBillpaihang","search": "#search"});' type="button" value="查 看">
                            </td>
                        </tr>
                    </thead>
                </table>
            </div>
            <div  class="TabelContent">
                <table id="CallBillpaihang"></table>
            </div>
        </form>
    </div>
    
    <div title="收货地址"  style="padding: 20px; background-color: #f4f4f4">
        <div class="TabelContent">
            <table id="saddreslist"></table>
        </div>
    </div>
    <div title="借款申请" style="padding: 20px; background-color: #f4f4f4">
        <div class="TabelContent">
            <table id="ApplyDetail"></table>
        </div>
    </div>
    <div title="还款记录" style="padding: 20px; background-color: #f4f4f4">
        <div class="TabelContent">
            <table id="RepayDetail"></table>
        </div>
    </div>
     <div title="短信记录"  style="padding: 20px; background-color: #f4f4f4">
        <div class="TabelContent">
            <table id="duanxinlist"></table>
        </div>
    </div>
     <div title="备注"  style="padding: 20px; background-color: #f4f4f4">
        <div class="TabelContent">
            <table id="beizhulist"></table>
        </div>
    </div>
</div>
<div style="text-align:center;margin:20px 0px;">
    <input name="Btn" type="button" value=" 关闭  " onclick="parent.$('#W1').window('close');" />
</div>
<script type="text/javascript">
    // $(function () {
    //     var frozenColumns = [
    //         //{ field: 'ID', checkbox: true }
    //     ];
    //     var columns = [
    //         { field: 'OperatorID', title: '审核人', width: 120 },
    //         { field: 'UserID', title: '会员姓名', width: 100 },
    //         { field: 'Codes', title: '认证类型', width: 120 },
    //         { field: 'Descs', title: '描述', width: 150 },
    //         { field: 'Intro', title: '备注', width: 150 },
    //         { field: 'UpdateTime', title: '审核时间', width: 150 },
    //     ];
    //     $.XB.datagrid({
    //         "loadsuccess": function () {
    //             $(this).datagrid('resize', {
    //                 height: 260
    //             });
    //         }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Renzen/Mobile/shenhelist", "u": "RenZenID={$infos['ID']}", "pagesize": "10", "datalist": "#shenhelist"
    //     });
    // });

    function bigview(obj,num) {
        var imsArr=<?php echo json_encode($cardimgArr);?>;
        $(".docs-pictures" , parent.parent.parent.document).remove();
        $(".viewer-container" , parent.parent.parent.document).remove();
        var ulHtml='';
        ulHtml+='<ul style="display: none" class="docs-pictures">';
        for(var i=0;i<imsArr.length;i++){
            ulHtml+='<li style="float:left;padding-left:20px;cursor: pointer"><img src="'+imsArr[i]+'" data-original="'+imsArr[i]+'"></li>'
        }
        ulHtml+='<div class="clear"></div></ul>';
        if($("body" , parent.parent.parent.document).append(ulHtml)){
//                    var num=$(obj).attr('data-num');
            window.parent.parent.parent.bigPopup(num);
        }else{
            $.XB.warning({'message':"请刷新后重试"});
        }
    }

    $('input[name="Btn"]').click(function () {
        $(".docs-pictures" , parent.parent.parent.document).remove();
        $(".viewer-container" , parent.parent.parent.document).remove();
    });
</script>
<!--通话排行-->
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
       var columns = [
            { field: 'name', title: '姓名', width: 120 },
            { field: 'peer_num', title: '通信电话', width: 120 },
            { field: 'city', title: '号码归属地', width: 120 },
            { field: 'call_cnt_6m', title: '通话次数', width: 100 },
            { field: 'updatetime', title: '更新时间', width: 120 }
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Loans/Applylist/tonghuapm", "u": "listID={$infos['ID']}", "pagesize": "10", "datalist": "#CallBillpaihang"
            
//          Renzen/Mobile/tonghuapm
        });
    });
</script>
<!--通话记录-->
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
       var columns = [
            { field: 'peer_number', title: '通信号码', width: 120 },
            { field: 'time', title: '通信时间', width: 150 },
            { field: 'location_type', title: '通信类型', width: 100 },
            { field: 'duration', title: '通话时长/秒', width: 100 },
            { field: 'location', title: '通话地点', width: 100 },
             { field: 'fee', title: '通话费用', width: 100 },
             { field: 'duration', title: '流量使用时长', width: 90 },
            
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Loans/Applylist/CallBill", "u": "listID={$infos['ID']}", "pagesize": "10", "datalist": "#CallBill"
        });
    });
</script>
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
        var columns = [
            { field: 'zip_code', title: '邮编', width: 120 },
            { field: 'phone_no', title: '电话', width: 120 },
            { field: 'name', title: '收货人', width: 120 },
            { field: 'address', title: '收货地址', width: 300 },
            { field: 'full_address', title: '详细地址', width: 300 },
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Renzen/Taobao/saddreslist", "u": "RenZenID={$infos['ID']}", "pagesize": "10", "datalist": "#saddreslist"
        });
    });
</script>
<!--短信-->
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
        var columns = [
//          { field: 'zip_code', title: '姓名', width: 120 },
            { field: 'tel', title: '电话', width: 155},
            { field: 'body', title: '内容', width: 1080 },
          
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Loans/Applylist/duanxinlist", "u": "listID={$infos['ID']}", "pagesize": "10", "datalist": "#duanxinlist"
        });
    });
</script>
<!--备注-->
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
        var columns = [
//          { field: 'zip_code', title: '姓名', width: 120 },
            { field: 'OrderSn', title: '订单号', width: 155},
            { field: 'Remark1', title: '备注1', width: 200 },
            { field: 'Remark2', title: '备注2', width: 200 },
            { field: 'Remark3', title: '备注3', width: 200 },
            { field: 'Remark4', title: '备注4', width: 200 },
               
          
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Loans/Applylist/beizhulist", "u": "listID={$infos['ID']}", "pagesize": "10", "datalist": "#beizhulist"
        });
    });
</script>
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
        var columns = [
            { field: 'name', title: '姓名', width: 120 },
            { field: 'tel', title: '电话', width: 120 },
            { field: 'sums', title: '次数', width: 100,sortable:true },
            { field: 'updatetime', title: '更新时间', width: 150 }
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Loans/Applylist/Phonelist", "u": "listID={$infos['ID']}", "pagesize": "10", "datalist": "#Phonelist"
        });
    });
</script>
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
        var columns = [
            { field: 'zip_code', title: '邮编', width: 120 },
            { field: 'phone_no', title: '电话', width: 120 },
            { field: 'name', title: '收货人', width: 120 },
            { field: 'address', title: '收货地址', width: 300 },
            { field: 'full_address', title: '详细地址', width: 300 },
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Loans/Applylist/saddreslist", "u": "listID={$infos['ID']}", "pagesize": "10", "datalist": "#saddreslist"
        });
    });
</script>
<!--借款申请-->
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            { field: 'LoanNo', title: '申请号', width: 150  },
        ];
        var columns = [
            { field: 'ApplyMoney', title: '申请金额', width: 70  },
            { field: 'AdoptMoney', title: '快速申请费', width: 80  },
            { field: 'FJMoney', title: '用户管理费', width: 80  },
            { field: 'Interest', title: '息费', width: 60  },
            { field: 'CoMoney', title: '优惠劵金额', width: 70  },
            { field: 'ApplyDay', title: '申请天数', width: 60  },
            { field: 'ApplyTime', title: '申请时间', width: 130  },
            { field: 'LoanStatus', title: '申请状态', width: 70  },
            { field: 'BackM', title: '到期应还', width: 70  },
            { field: 'OrderSn', title: '订单号', width: 150  },

            { field: 'YyFkTime', title: '预约还款时间', width: 130  },
            //{ field: 'RealFkTime', title: '实际还款时间', width: 130  },
            //{ field: 'LoanSum', title: '续借次数', width: 70  },
            { field: 'SqAdminID', title: '专属客服', width: 70  },
            { field: 'LoanType', title: '申请类型', width: 70  },
            { field: 'Status', title: '审核状态', width: 70  },
            { field: 'ServiceID', title: '审核人', width: 70  },
            { field: 'ShTime', title: '审核时间', width: 130  }
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Loans/Applylist/ApplyDetail", "u": "listID={$infos['ID']}", "pagesize": "10", "datalist": "#ApplyDetail"
        });
    });
</script>
<!--还款记录-->
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            { field: 'LoanNo', title: '申请号', width: 150  },
        ];
        var columns = [
            { field: 'TotalMoney', title: '还款总金额', width: 100  },
            { field: 'HkTime', title: '还款时间', width: 150  },
            { field: 'CostPayable', title: '应还本金', width: 100  },
            { field: 'RatePayable', title: '应还本息', width: 100  },
            { field: 'SeviceCostPayable', title: '应还服务费', width: 120  },
            { field: 'FinePayable', title: '应还罚金', width: 100  },
            { field: 'Accounts', title: '收款账号', width: 150  },
            { field: 'TradeNo', title: '交易流水号', width: 150  },
            { field: 'TradeRemark', title: '交易备注信息', width: 250  },
            { field: 'PayType', title: '还款方式', width: 100  },
            { field: 'PayStatus', title: '支付状态', width: 100  },
            { field: 'AdminID', title: '审核人', width: 100  },
            { field: 'ShTime', title: '审核时间', width: 150  },
            { field: 'Status', title: '审核状态', width: 100  }
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Loans/Applylist/RepayDetail", "u": "listID={$infos['ID']}", "pagesize": "10", "datalist": "#RepayDetail"
        });
    });
</script>
</body>
<include file="Shared:Footer" />